#!/usr/bin/python
# -*- coding: UTF-8 -*-
# author : bird.zhang@ximalaya.com

echo_str_tmp = "echo ***"

url_str_tmp = "curl 'https://be.bihu.com:8102/bihube-pc/api/content/follow' -H 'pragma: no-cache' -H 'origin: https://www.bihu.com' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: zh-CN,zh;q=0.9,en;q=0.8,zh-TW;q=0.7' -H 'user-agent: Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Mobile Safari/537.36' -H 'content-type: application/x-www-form-urlencoded' -H 'accept: */*' -H 'cache-control: no-cache' -H 'authority: be.bihu.com:8102' -H 'referer: https://www.bihu.com/people/7637' --data 'userId=153967&accessToken=eca9011702db4554bf1dd5ab433a4b18&subjectUserId=***' --compressed"

f = open('bihu.txt', 'w')

for i in range(100101, 101001):
    url_str = url_str_tmp.replace('***', str(i))
    # echo_str = echo_str_tmp.replace('***', str(i))
    # f.write(echo_str)
    # f.write('\n')
    f.write(url_str)
    f.write('\n')

f.close()
